package cn.itlight.org.service;

import cn.itlight.basic.utils.PageList;
import cn.itlight.org.domain.Department;
import cn.itlight.org.query.DepartmentQuery;

import java.util.List;
/**
* @Description: TODO
* @Author: TomLiu
* @Version: 1.0
* @Date:  2022/6/21 18:41  
*/
public interface IDepartmentService {

    /* 
    * @Title: loadAll
    * @Description: TODO
    * @Author: TomLiu
    * @Version: 1.0
    * @Date:  2022/6/21 18:42  
    * @Parameters: 
    * @Return 
    */
    List<Department> loadAll();

    /* 
    * @Title: loadById
    * @Description: TODO
    * @Author: TomLiu
    * @Version: 1.0
    * @Date:  2022/6/21 18:42  
    * @Parameters: 
    * @Return 
    */
    Department loadById(Long id);

    /* 
    * @Title: remove
    * @Description: TODO
    * @Author: TomLiu
    * @Version: 1.0
    * @Date:  2022/6/21 18:42  
    * @Parameters: 
    * @Return 
    */
    void remove(Long id);

    /* 
    * @Title: update
    * @Description: TODO
    * @Author: TomLiu
    * @Version: 1.0
    * @Date:  2022/6/21 18:42  
    * @Parameters: 
    * @Return 
    */
    void update(Department department);

    /* 
    * @Title: save
    * @Description: TODO
    * @Author: TomLiu
    * @Version: 1.0
    * @Date:  2022/6/21 18:42  
    * @Parameters: 
    * @Return 
    */
    void save(Department department);

    /* 
    * @Title: queryData
    * @Description: TODO
    * @Author: TomLiu
    * @Version: 1.0
    * @Date:  2022/6/21 18:42  
    * @Parameters: 
    * @Return 
    */
    PageList<Department> queryData(DepartmentQuery departmentQuery);
}
